// P1706 write by cn_ryh